package com.zhizhi.module.synthesizes.dict.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.zhizhi.common.base.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 字典表
 * </p>
 *
 * @author Mr.Yu
 * @since 2021-01-18
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName("t_sys_dict")
public class Dict extends BaseEntity<Dict> {

    private static final long serialVersionUID = 1L;

    /**
     * 字典类型编码 对应下拉选项的value
     */
    private Integer code;

    /**
     * 字典类型名称  对应哪个字段
     */
    private String name;

    /**
     * 对应下拉选项的文本
     */
    private String content;

    /**
     * 字典描述
     */
    private String description;

    /**
     * 排序
     */
    private Integer sort;

    /**
     * 0 启用状态  1禁用状态
     */
    private Integer status;
}